package com.gitee.wsl.mathematics.number

interface Spatial {
    /** Returns true if any value in this element is NaN; otherwise
     * returns false.
     * @return true if any value in this element is NaN
     */
    val isNaN: Boolean

    /** Returns true if any value in this element is infinite and none
     * are NaN; otherwise, returns false.
     * @return true if any value in this element is infinite and none
     * are NaN
     */
    val isInfinite: Boolean

    /** Returns true if all values in this element are finite, meaning
     * they are not NaN or infinite.
     * @return true if all values in this element are finite
     */
    val isFinite: Boolean

}